package com.ruoyi.gcgl.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 施工人员管理对象 gyspt_person
 * 
 * @author ruoyi
 * @date 2024-11-05
 */
public class GysptPerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    private String bh;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String card;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String address;

    /** 描述 */
    @Excel(name = "描述")
    private String descs;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 收款账号 */
    @Excel(name = "收款账号")
    private String skzh;

    /** 开户银行 */
    @Excel(name = "开户银行")
    private String khyh;

    /** 纳税识别号 */
    @Excel(name = "纳税识别号")
    private String nssbh;

    /** 收款单位 */
    @Excel(name = "收款单位")
    private String ckdw;

    /** 删除标记 0:删除 1:没删除 */
    @Excel(name = "删除标记 0:删除 1:没删除")
    private Integer deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;
    
    @Excel(name = "性别")
    private String sex;
    @Excel(name = "所属班组")
    private String suosbz;
    @Excel(name = "工种")
    private String gongz;
    private String jinjlxr;
    private String jinjlxrdh;
    
    private String photo;
    private String ishealth;
    
    public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getIshealth() {
		return ishealth;
	}

	public void setIshealth(String ishealth) {
		this.ishealth = ishealth;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getSuosbz() {
		return suosbz;
	}

	public void setSuosbz(String suosbz) {
		this.suosbz = suosbz;
	}

	public String getGongz() {
		return gongz;
	}

	public void setGongz(String gongz) {
		this.gongz = gongz;
	}

	public String getJinjlxr() {
		return jinjlxr;
	}

	public void setJinjlxr(String jinjlxr) {
		this.jinjlxr = jinjlxr;
	}

	public String getJinjlxrdh() {
		return jinjlxrdh;
	}

	public void setJinjlxrdh(String jinjlxrdh) {
		this.jinjlxrdh = jinjlxrdh;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBh(String bh) 
    {
        this.bh = bh;
    }

    public String getBh() 
    {
        return bh;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setCard(String card) 
    {
        this.card = card;
    }

    public String getCard() 
    {
        return card;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDescs(String descs) 
    {
        this.descs = descs;
    }

    public String getDescs() 
    {
        return descs;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setSkzh(String skzh) 
    {
        this.skzh = skzh;
    }

    public String getSkzh() 
    {
        return skzh;
    }
    public void setKhyh(String khyh) 
    {
        this.khyh = khyh;
    }

    public String getKhyh() 
    {
        return khyh;
    }
    public void setNssbh(String nssbh) 
    {
        this.nssbh = nssbh;
    }

    public String getNssbh() 
    {
        return nssbh;
    }
    public void setCkdw(String ckdw) 
    {
        this.ckdw = ckdw;
    }

    public String getCkdw() 
    {
        return ckdw;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((address == null) ? 0 : address.hashCode());
		result = prime * result + ((bh == null) ? 0 : bh.hashCode());
		result = prime * result + ((card == null) ? 0 : card.hashCode());
		result = prime * result + ((ckdw == null) ? 0 : ckdw.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result + ((descs == null) ? 0 : descs.hashCode());
		result = prime * result + ((gongz == null) ? 0 : gongz.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result + ((jinjlxr == null) ? 0 : jinjlxr.hashCode());
		result = prime * result
				+ ((jinjlxrdh == null) ? 0 : jinjlxrdh.hashCode());
		result = prime * result + ((khyh == null) ? 0 : khyh.hashCode());
		result = prime * result + ((name == null) ? 0 : name.hashCode());
		result = prime * result + ((nssbh == null) ? 0 : nssbh.hashCode());
		result = prime * result + ((phone == null) ? 0 : phone.hashCode());
		result = prime * result + ((sex == null) ? 0 : sex.hashCode());
		result = prime * result + ((skzh == null) ? 0 : skzh.hashCode());
		result = prime * result + ((suosbz == null) ? 0 : suosbz.hashCode());
		result = prime * result + ((type == null) ? 0 : type.hashCode());
		result = prime * result
				+ ((updateAt == null) ? 0 : updateAt.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		GysptPerson other = (GysptPerson) obj;
		if (address == null) {
			if (other.address != null)
				return false;
		} else if (!address.equals(other.address))
			return false;
		if (bh == null) {
			if (other.bh != null)
				return false;
		} else if (!bh.equals(other.bh))
			return false;
		if (card == null) {
			if (other.card != null)
				return false;
		} else if (!card.equals(other.card))
			return false;
		if (ckdw == null) {
			if (other.ckdw != null)
				return false;
		} else if (!ckdw.equals(other.ckdw))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (descs == null) {
			if (other.descs != null)
				return false;
		} else if (!descs.equals(other.descs))
			return false;
		if (gongz == null) {
			if (other.gongz != null)
				return false;
		} else if (!gongz.equals(other.gongz))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (jinjlxr == null) {
			if (other.jinjlxr != null)
				return false;
		} else if (!jinjlxr.equals(other.jinjlxr))
			return false;
		if (jinjlxrdh == null) {
			if (other.jinjlxrdh != null)
				return false;
		} else if (!jinjlxrdh.equals(other.jinjlxrdh))
			return false;
		if (khyh == null) {
			if (other.khyh != null)
				return false;
		} else if (!khyh.equals(other.khyh))
			return false;
		if (name == null) {
			if (other.name != null)
				return false;
		} else if (!name.equals(other.name))
			return false;
		if (nssbh == null) {
			if (other.nssbh != null)
				return false;
		} else if (!nssbh.equals(other.nssbh))
			return false;
		if (phone == null) {
			if (other.phone != null)
				return false;
		} else if (!phone.equals(other.phone))
			return false;
		if (sex == null) {
			if (other.sex != null)
				return false;
		} else if (!sex.equals(other.sex))
			return false;
		if (skzh == null) {
			if (other.skzh != null)
				return false;
		} else if (!skzh.equals(other.skzh))
			return false;
		if (suosbz == null) {
			if (other.suosbz != null)
				return false;
		} else if (!suosbz.equals(other.suosbz))
			return false;
		if (type == null) {
			if (other.type != null)
				return false;
		} else if (!type.equals(other.type))
			return false;
		if (updateAt == null) {
			if (other.updateAt != null)
				return false;
		} else if (!updateAt.equals(other.updateAt))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "GysptPerson [id=" + id + ", bh=" + bh + ", name=" + name
				+ ", phone=" + phone + ", card=" + card + ", address="
				+ address + ", descs=" + descs + ", type=" + type + ", skzh="
				+ skzh + ", khyh=" + khyh + ", nssbh=" + nssbh + ", ckdw="
				+ ckdw + ", deleteFlag=" + deleteFlag + ", createUser="
				+ createUser + ", createAt=" + createAt + ", updateUser="
				+ updateUser + ", updateAt=" + updateAt + ", sex=" + sex
				+ ", suosbz=" + suosbz + ", gongz=" + gongz + ", jinjlxr="
				+ jinjlxr + ", jinjlxrdh=" + jinjlxrdh + "]";
	}
}